package com.engine4cloud.tdf.supervision.dto.result;

import com.engine4cloud.tdf.supervision.dto.GzryFileDTO;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.List;

/**
 * 社区矫正工作人员信息-请求对象
 *
 * @author wenjie
 * @date 2024-04-15 11:37:27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "社区矫正工作人员信息-响应对象")
public class GzryFunctionaryResultDTO extends CreateTimeResultDTO {

    /**
     * 公务员编码
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 公务员编码
     */
    @Schema(description = "公务员编码")
    private String rybm;

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String xm;

    /**
     * 英文名
     */
    @Schema(description = "英文名")
    private String ywm;

    /**
     * 性别
     */
    @Schema(description = "性别", example = "1")
    private String xb;

    /**
     * 性别名称
     */
    @Schema(description = "性别名称", example = "男")
    private String xbmc;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期", example = "2024-01-01")
    private LocalDate csrq;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号", example = "610418********2011")
    private String sfzh;

    /**
     * 民族
     */
    @Schema(description = "民族", example = "01")
    private String mz;

    /**
     * 民族名称
     */
    @Schema(description = "民族名称", example = "汉")
    private String mzmc;

    /**
     * 政治面貌
     */
    @Schema(description = "政治面貌", example = "01")
    private String zzmm;

    /**
     * 婚姻状况
     */
    @Schema(description = "婚姻状况", example = "01")
    private String hyzk;

    /**
     * 毕业院校
     */
    @Schema(description = "毕业院校", example = "清华大学")
    private String byyx;

    /**
     * 学历
     */
    @Schema(description = "学历", example = "01")
    private String xl;

    /**
     * 最高学位
     */
    @Schema(description = "最高学位", example = "01")
    private String zgxw;

    /**
     * 专业
     */
    @Schema(description = "专业", example = "110")
    private String zy;

    /**
     * 所属机构
     */
    @Schema(description = "所属机构", example = "1")
    private String ssjg;

    /**
     * 人员编制
     */
    @Schema(description = "人员编制", example = "01")
    private String rybz;

    /**
     * 人员编制名称
     */
    @Schema(description = "人员编制名称", example = "政法专项编制")
    private String rybzmc;

    /**
     * 参加工作时间
     */
    @Schema(description = "参加工作时间", example = "2024-01-01")
    private LocalDate cjgzsj;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码", example = "13322222222")
    private String sj;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String lxdh;

    /**
     * 电子邮箱
     */
    @Schema(description = "电子邮箱", example = "wwk24422665@qq.com")
    private String dzyx;

    @Hidden
    @Schema(description = "住址所在省（区、市）")
    private String jtzzszs;

    @Hidden
    @Schema(description = "住址所在地（市、州）")
    private String jtzzszds;

    @Hidden
    @Schema(description = "住址所在县（市、区）")
    private String jtzzszxq;

    @Hidden
    @Schema(description = "住址所在（乡镇、街道）")
    private String jtzzszd;

    /**
     * 住址
     */
    @Schema(description = "住址", example = "**省**市**县**镇**村**号")
    private String zz;

    /**
     * 是否在职
     */
    @Schema(description = "是否在职", example = "1")
    private String ryzt;

    /**
     * 职务名称
     */
    @Schema(description = "职务名称", example = "所长")
    private String zwmc;

    /**
     * 所属部门名称
     */
    @Schema(description = "所属部门名称")
    private String deptName;

    /**
     * 照片
     */
    @Schema(description = "照片", example = "[{\"name\": \"张三.png\",\"url\": \"/users/张三.png\"}]")
    private List<GzryFileDTO> photoList;

    /**
     * 职务
     */
    @Schema(description = "职务", example = "[\"1\",\"113\"]")
    @NotEmpty(message = "职务不能为空")
    private List<String> positionList;

    /**
     * 家庭住址
     */
    @Schema(description = "家庭住址", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    private List<String> areaList;
}